package com.briup.srms.sms.service;

import java.util.List;

import com.briup.srms.sms.bean.Direction;
import com.briup.srms.sms.bean.extend.DirectionExtend;
import com.jacky.base.utils.CustomerException;
import com.jacky.base.utils.PageVM;

public interface IDirectionService {
	
	List<DirectionExtend> queryDirectionClazzTree();

	PageVM<Direction> pageQuery(int page,int pageSize);
	
	void saveOrUpdate(Direction direction) throws CustomerException;
	
	void deleteById(long id) throws CustomerException;
	
	Direction queryByName(String name);
}
